const fs = require("fs");

const path = require("path");

const sourceFilePath = path.join(__dirname, "package", "README.md");
const targetFilePath1 = path.join(__dirname, "README.md");
const targetFilePath2 = path.join(__dirname, "docs", "index.md");

fs.readFile(sourceFilePath, "utf8", (_err, data) => {
  fs.writeFile(targetFilePath1, data, "utf8", (_err) => {});
  fs.writeFile(targetFilePath2, data, "utf8", (_err) => {});
});
